-- card: 9537 from stack: in -- bmap block id: 10919 -- flags: 0000 -- background id: 6859 -- name: Conjunct ----- HyperTalk script ----- on openCard put line 1 of cd fld date into line 2 of cd fld date put the date into line 1 of cd fld date if line 1 of cd fld date ≠ line 2 of cd fld date then conj pass openCard end openCard on conj hide message box global ra,dec,planet put empty into ra put empty into dec put "Moon,Mercury,Venus,Mars,Jupiter,Saturn,Uranus,Neptune" into planet put 2 into c1 put cd fld threshhold into thresh put 0 into k put empty into cd fld conj put c1+8 into c2 put c1 into j repeat with i=c1 to c2 set cursor to busy if i=3 then next repeat put line 5 of fld Pos of cd i into item j-c1+1 of ra put line 6 of fld Pos of cd i into item j-c1+1 of dec add 1 to j end repeat put number of items of ra into nra repeat with i=1 to nra-1 repeat with j=i+1 to nra get sqrt((item i of ra - item j of ra)^2+ (item i of dec - item j of dec)^2) if it